<template>
  <div class="dashboard-container">
    <div class="dashboard-text">Welcome: {{ name }}</div>
    <div class="dashboard-text">欢迎使用小昕权限管理系统</div>
    <div>
      <ul>
        <li>小昕权限管理系统v1.0</li>
        <li>简易的代码生成配置</li>
        <li>更易于新手二次开发</li>
        <li>易于新手理解前后端分离开发模式</li>
        <li>易于新手理解RBAC权限模型</li>
      </ul>
    </div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  name: "Dashboard",
  computed: {
    ...mapGetters(["name"]),
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
